package bookstudytest.threadtest.daemonthread;

import bookstudytest.threadtest.implement.ThreadByRunnable;

/**
 * @author heng.li
 */
public class DaemonThreadTest {

    public static void main(String[] args) {
        Thread thread = new Thread(new ThreadByRunnable());
        thread.setDaemon(true);
        thread.run();
    }
}
